package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存巡检记录对象 zn_stock_check_history
 * 
 * @author nexiaozi
 * @date 2022-11-12
 */
public class ZnStockCheckHistory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;
    /** 类型 0库存 1单据 */
    @Excel(name = "类型")
    private Integer type;

    /** 状态 0不正常 1正常 */
    private Integer state;
    /** 巡检异常内容 */
    @Excel(name = "巡检异常内容")
    private String result;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setResult(String result) 
    {
        this.result = result;
    }

    public String getResult() 
    {
        return result;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("result", getResult())
            .append("createTime", getCreateTime())
            .append("state", getState())
            .append("type", getType())
            .toString();
    }
}
